package ricksguitars1;

/**
 * <p>Title: Guitar</p>
 * Description: CS 235 Lab #3 
 * This class is used to represent a guitar in a store.
 * 
 * @author This code is from "Head First Object Oriented Design"
 * @date February 4th 2013
 */

public class Guitar {

	private String serialNumber, builder, model, type, backWood, topWood;
	private double price;

	/**
	 * Guitar constructor
	 * @param serialNumber
	 * @param price
	 * @param builder
	 * @param model
	 * @param type
	 * @param backWood
	 * @param topWood
	 */
	public Guitar(String serialNumber,
			double price,
			String builder,
			String model,
			String type,
			String backWood,
			String topWood) {
		this.serialNumber = serialNumber;
		this.price = price;
		this.builder = builder;
		this.model = model;
		this.type = type;
		this.backWood = backWood;
		this.topWood = topWood;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(float newPrice) {
		this.price = newPrice;
	}

	public String getBuilder() {
		return builder;
	}

	public String getModel() {
		return model;
	}

	public String getType() {
		return type;
	}

	public String getBackWood() {
		return backWood;
	}

	public String getTopWood() {
		return topWood;
	}
}